<div class="layui-form layuimini-form detail_box">

    <style>

        .detail_box{
            padding: 20px
        }

        .detail_box input{
            border: none
        }

        .material-list{
            width: calc(100% - 200px);
            height: auto;
            padding: 10px;
            display: flex;
            flex-direction: column;
        }


        .material-list .material-row{
            width: 100%;
            height: auto;
            padding: 10px;
            display: flex;
            flex-direction: row;
            align-items:center
        }


        .material-list .material-row .resource{
            min-width: 200px;
            height: 140px;
            display: flex;
            flex-direction: row;
            margin-right: 20px;
        }


        .material-list .material-row .resource img{
            width: 200px;
            height: 140px;
        }


        .material-list .material-row .links{
            display: flex;
            margin-right: 20px;
        }


        #show-dates{
            cursor: pointer;
        }

    </style>

    <div class="layui-form-item">
        <label class="layui-form-label required">帮助标题</label>
        <div class="layui-input-block">
            <input type="text" disabled value="<{$info.title}>" class="layui-input" maxlength="80">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label required">关联分类</label>
        <div class="layui-input-block">
            <input type="text" disabled value="<{$info.category.title}>" class="layui-input" maxlength="80">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">排序字段</label>
        <div class="layui-input-block">
            <input type="number" disabled value="<{$info.sort}>" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">状态开关</label>
        <div class="layui-input-block">
            <input type="checkbox" disabled lay-skin="switch" lay-text="显示|隐藏" <?php echo $info['status'] == 1 ? 'checked' : '';?>>
        </div>
    </div>
    <div class="layui-form-item html-content-box">
        <label class="layui-form-label">帮助内容</label>
        <div class="layui-input-block" style="width: 750px">
            <div>
                <{$info.content|raw}>
            </div>
        </div>
    </div>

    <div class="layui-form-item layui-hide">
        <input type="button" lay-submit lay-filter="LAY-article-create-submit" id="LAY-article-create-submit" value="确认">
    </div>

</div>